notify
Sends a notification to a specific PostgreSQL channel with the given value.
This method utilizes the PostgreSQL pg_notify
functionality to send a notification to a specified channel. The channel and value are passed as parameters. The channel name must not be blank.
Parameters
channel
The name of the PostgreSQL channel to send the notification to. Must not be blank.
value
The notification payload to be sent to the specified channel.
Throws
If the channel
parameter is blank.